From: Vincent Untz Date: Thu, 15 Sep 2011 11:43:01 +0000 (+0200) Subject: build: Fix rule to create .service files X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7705 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=36d564526cb74c5d8db32c71727dbfd370200595;p=gnome-shell.git build: Fix rule to create .service files It was always taking the first .service.in file to create all .service files: org.gnome.Shell.CalendarServer.service.in was the only one being used. https://bugzilla.gnome.org/show_bug.cgi?id=659194 --- diff --git a/src/Makefile.am b/src/Makefile.am index 11449eac5..d19f0fe90 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,7 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) servicedir = $(datadir)/dbus-1/services service_DATA = $(service_in_files:.service.in=.service) -$(service_DATA): $(service_in_files) Makefile +%.service: %.service.in Makefile $(AM_V_GEN) \ [ -d $(@D) ] || $(mkdir_p) $(@D) ; \ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@